package com.xinqi.modules.prepare.prepare.dto.rsp;

import com.xinqi.common.core.annotation.Sensitive;
import com.xinqi.common.core.enums.SensitiveStrategy;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 备课区成员-响应对象
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
@Schema(description = "备课区成员-响应对象")
public class PrepareMemberResultDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键", example = "")
    private Long id;
    /**
     * 创建者
     */
    @Schema(description = "创建者", example = "")
    private Long createBy;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间/加入时间", example = "2023-01-01 02:02:02")
    private LocalDateTime createTime;
    /**
     * 备课区id
     */
    @Schema(description = "备课区id", example = "")
    private Long prepareId;
    /**
     * 用户id
     */
    @Schema(description = "用户id", example = "")
    private Long userId;
    /**
     * 角色，LEADER-组长；ADMIN-管理员；MEMBER-组员
     */
    @Schema(description = "角色，LEADER-组长；ADMIN-管理员；MEMBER-组员", example = "")
    private String role;

    /**
     * 昵称
     */
    @Schema(description = "昵称", example = "刘老师")
    private String nickname;
    /**
     * 新奇号
     */
    @Schema(description = "新奇号", example = "XQ223523")
    private String xinqiNumber;
    /**
     * 头像
     */
    @Schema(description = "头像", example = "https://xxx.com/xxxx.png")
    private String avatar;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "1531***568")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String mobile;

}
